package cn.jzq.mysoul.yourname.domain;

import cn.jzq.mysoul.yourname.base.SuperEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jzq
 * @since 2017-09-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Blog extends SuperEntity<Blog> {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 创建时间
     */
    @TableField(value = "create_date", fill = FieldFill.INSERT_UPDATE)
    private String createDate;
    /**
     * 创建人
     */
    @TableField("creator_id")
    private Long creatorId;
    /**
     * 修改人
     */
    @TableField("modifier_id")
    private Long modifierId;
    /**
     * 修改时间
     */
    @TableField("modify_date")
    private String modifyDate;
    /**
     * 数据字典id
     */
    @TableField("dict_id")
    private String dictId;


}
